> For the complete documentation index, see [llms.txt](https://docs.meeco.me/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.meeco.me/openapi-docs/svx-api/schemas.md).

# Schemas

## List schemas

> Returns a list of schemas available created and managed by the Wallet. The list can be filtered, sorted, and paginated by using the available query   parameters.<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"SchemasResponseDto":{"type":"object","properties":{"schemas":{"type":"array","items":{"$ref":"#/components/schemas/SchemaResponseModelDto"}},"meta":{"$ref":"#/components/schemas/Meta"}},"required":["schemas","meta"]},"SchemaResponseModelDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt","jwt_vc_json","mso_mdoc"]},"schema_json":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","format","schema_json","created_at"]},"Meta":{"type":"object","properties":{"order_by":{"type":"string"},"order":{"type":"string","enum":["ASC","DESC"]},"order_from_params":{"type":"boolean"},"per_page":{"type":"number"},"per_page_from_params":{"type":"boolean"},"records_count":{"type":"number"},"page":{"type":"number"},"page_count":{"type":"number"}},"required":["order_by","order","order_from_params","per_page","per_page_from_params","records_count","page","page_count"]},"InvalidPaginationParamError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_pagination_param"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas":{"get":{"summary":"List schemas","description":"Returns a list of schemas available created and managed by the Wallet. The list can be filtered, sorted, and paginated by using the available query   parameters.\n","operationId":"SchemasController_findAll","parameters":[{"in":"query","name":"order","required":false,"schema":{"type":"string","enum":["ASC","DESC"]}},{"in":"query","name":"order_by","required":false,"schema":{"type":"string"}},{"in":"query","name":"per_page","required":false,"schema":{"type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"page","required":false,"schema":{"type":"integer","minimum":1}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemasResponseDto"}}},"description":"Schemas successfully loaded"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidPaginationParamError"}}},"description":"Invalid query params"}},"tags":["Schemas"]}}}}
```

## Create schema

> \*\*schema\_json\*\* must comply with the \[specification]\(<https://www.w3.org/TR/vc-json-schema/).\\>
> \
> Schema validity can be checked by using one of the web validators listed at the \[JSON Schema tooling page]\(<https://json-schema.org/tools?query=\\&sortBy=name\\&sortOrder=ascending\\&groupBy=toolingTypes\\&licenses=\\&languages=\\&drafts=\\&toolingTypes=validator).\\>
> \
> \*\*schema\_json.$id\*\* is not expected in the payload. The API assigns its own internal value even if one is provided.\
> \
> \---\
> \
> There are additional restrictions for the \`dc+sd-jwt\` format. \
> \
> There are registered JWT claims for this credential format (\[SD-JWT VC spec]\(<https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-16.html#section-2.2.2.2)).\\>
> \
> They are used internally and cannot be included as claims or defined as claims in the \*\*schema\_json\*\*\
> \
> The following claims cannot be icluded in \*\*schema\_json.properties\*\*:\
> \- \`iss\`\
> \- \`nbf\`\
> \- \`exp\`\
> \- \`cnf\`\
> \- \`vct\`\
> \- \`vct#integrity\`\
> \- \`extends#integrity\`\
> \- \`schema\_uri#integrity\`\
> \- \`sub\`\
> \- \`aud\`\
> \- \`jti\`\
> \- \`iat\`\
> \- \`\_sd\`\
> \- \`\_sd\_alg\`\
> \
> \
> \`status\` is also a registered JWT claims. However currently SVX Wallet does not support status list for \`dc+sd-jwt\`.\
> So this claim can be included in a \`dc+sd-jwt\` credential schema for users to manually set an externally maintained Status List.\
> But \`status\` MUST always be shown and cannot be set as selectively disclosable.\
> \
> For example, \
> \[Status List]\(<https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-20):\\>
> \`\`\`json\
> &#x20; "status": {\
> &#x20;   "status\_list": {\
> &#x20;     "idx": 0,\
> &#x20;     "uri": "<https://example.com/statuslists/1"\\>
> &#x20;   }\
> &#x20; }\
> \`\`\`\
> \
> There are no restrictions for \`jwt\_vc\_json\` or \`mso\_mdoc\` formats.\
> \
> \---\
> \
> Example (\`jwt\_vc\_json\` format):\
> \
> \`\`\`json\
> {\
> &#x20; "schema": {\
> &#x20;   "name": "EmailCredential",\
> &#x20;   "format": "jwt\_vc\_json",\
> &#x20;   "schema\_json": {\
> &#x20;     "$schema": "<https://json-schema.org/draft/2020-12/schema",\\>
> &#x20;     "description": "EmailCredential using JsonSchema",\
> &#x20;     "type": "object",\
> &#x20;     "properties": {\
> &#x20;       "credentialSubject": {\
> &#x20;         "type": "object",\
> &#x20;         "properties": {\
> &#x20;           "emailAddress": {\
> &#x20;             "type": "string",\
> &#x20;             "format": "email"\
> &#x20;           }\
> &#x20;         },\
> &#x20;         "required": \["emailAddress"]\
> &#x20;       }\
> &#x20;     }\
> &#x20;   }\
> &#x20; }\
> }\
> \`\`\`\
> \
> \---\
> \
> Example (\`dc+sd-jwt\` format):\
> \
> \`\`\`json\
> {\
> &#x20; "schema": {\
> &#x20;   "name": "SelectiveDisclosableCredential",\
> &#x20;   "format": "dc+sd-jwt",\
> &#x20;   "schema\_json": {\
> &#x20;     "$schema": "<https://json-schema.org/draft/2020-12/schema",\\>
> &#x20;     "type": "object",\
> &#x20;     "properties": {\
> &#x20;       "iss": { "type": "string" },\
> &#x20;       "email": { "type": "string" },\
> &#x20;       "is\_over\_18": { "type": "boolean" }\
> &#x20;     },\
> &#x20;     "required": \["iss", "email", "is\_over\_18"]\
> &#x20;   }\
> &#x20; }\
> }\
> \`\`\`\
> \
> \---\
> \
> Example (\`mso\_mdoc\` format):\
> \
> \`\`\`json\
> {\
> &#x20; "schema": {\
> &#x20;   "name": "MobileDriverLicense",\
> &#x20;   "format": "mso\_mdoc",\
> &#x20;   "schema\_json": {\
> &#x20;     "$schema": "<https://json-schema.org/draft/2020-12/schema",\\>
> &#x20;     "type": "object",\
> &#x20;     "properties": {\
> &#x20;       "org.iso.18013.5.1": {\
> &#x20;         "type": "object",\
> &#x20;         "properties": {\
> &#x20;           "email": { "type": "string" },\
> &#x20;           "portrait": {\
> &#x20;             "type": "string",\
> &#x20;             "description": "jpeg as base64url encoded",\
> &#x20;             "x-cbor-encoding": "bstr"\
> &#x20;           }\
> &#x20;         }\
> &#x20;       }\
> &#x20;     },\
> &#x20;     "required": \["email", "portrait"]\
> &#x20;   }\
> &#x20; }\
> }\
> \`\`\`<br>

````json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"CreateSchemaPayloadDto":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/CreateSchemaDto"}},"required":["schema"]},"CreateSchemaDto":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"format":{"type":"string","enum":["dc+sd-jwt","jwt_vc_json","mso_mdoc"]},"schema_json":{"$ref":"#/components/schemas/CredentialJSONSchemaPayloadDto"}},"required":["name","format","schema_json"]},"CredentialJSONSchemaPayloadDto":{"type":"object","properties":{"$id":{"type":"string"},"$schema":{"type":"string","enum":["http://json-schema.org/draft-07/schema#","https://json-schema.org/draft/2019-09/schema","https://json-schema.org/draft/2020-12/schema"]},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":true},"name":{"type":"string"},"description":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"properties":{"type":"object","additionalProperties":true},"required":{"type":"array","items":{"type":"string"}},"additionalProperties":{"type":"boolean"}},"required":["$schema","type"],"additionalProperties":true},"SchemaResponseDto":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/SchemaResponseModelDto"}},"required":["schema"]},"SchemaResponseModelDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt","jwt_vc_json","mso_mdoc"]},"schema_json":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","format","schema_json","created_at"]},"InvalidRequestPayloadError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_request_payload"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas":{"post":{"summary":"Create schema","description":"**schema_json** must comply with the [specification](https://www.w3.org/TR/vc-json-schema/).\n\nSchema validity can be checked by using one of the web validators listed at the [JSON Schema tooling page](https://json-schema.org/tools?query=&sortBy=name&sortOrder=ascending&groupBy=toolingTypes&licenses=&languages=&drafts=&toolingTypes=validator).\n\n**schema_json.$id** is not expected in the payload. The API assigns its own internal value even if one is provided.\n\n---\n\nThere are additional restrictions for the `dc+sd-jwt` format. \n\nThere are registered JWT claims for this credential format ([SD-JWT VC spec](https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-16.html#section-2.2.2.2)).\n\nThey are used internally and cannot be included as claims or defined as claims in the **schema_json**\n\nThe following claims cannot be icluded in **schema_json.properties**:\n- `iss`\n- `nbf`\n- `exp`\n- `cnf`\n- `vct`\n- `vct#integrity`\n- `extends#integrity`\n- `schema_uri#integrity`\n- `sub`\n- `aud`\n- `jti`\n- `iat`\n- `_sd`\n- `_sd_alg`\n\n\n`status` is also a registered JWT claims. However currently SVX Wallet does not support status list for `dc+sd-jwt`.\nSo this claim can be included in a `dc+sd-jwt` credential schema for users to manually set an externally maintained Status List.\nBut `status` MUST always be shown and cannot be set as selectively disclosable.\n\nFor example, \n[Status List](https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-20):\n```json\n  \"status\": {\n    \"status_list\": {\n      \"idx\": 0,\n      \"uri\": \"https://example.com/statuslists/1\"\n    }\n  }\n```\n\nThere are no restrictions for `jwt_vc_json` or `mso_mdoc` formats.\n\n---\n\nExample (`jwt_vc_json` format):\n\n```json\n{\n  \"schema\": {\n    \"name\": \"EmailCredential\",\n    \"format\": \"jwt_vc_json\",\n    \"schema_json\": {\n      \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n      \"description\": \"EmailCredential using JsonSchema\",\n      \"type\": \"object\",\n      \"properties\": {\n        \"credentialSubject\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"emailAddress\": {\n              \"type\": \"string\",\n              \"format\": \"email\"\n            }\n          },\n          \"required\": [\"emailAddress\"]\n        }\n      }\n    }\n  }\n}\n```\n\n---\n\nExample (`dc+sd-jwt` format):\n\n```json\n{\n  \"schema\": {\n    \"name\": \"SelectiveDisclosableCredential\",\n    \"format\": \"dc+sd-jwt\",\n    \"schema_json\": {\n      \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n      \"type\": \"object\",\n      \"properties\": {\n        \"iss\": { \"type\": \"string\" },\n        \"email\": { \"type\": \"string\" },\n        \"is_over_18\": { \"type\": \"boolean\" }\n      },\n      \"required\": [\"iss\", \"email\", \"is_over_18\"]\n    }\n  }\n}\n```\n\n---\n\nExample (`mso_mdoc` format):\n\n```json\n{\n  \"schema\": {\n    \"name\": \"MobileDriverLicense\",\n    \"format\": \"mso_mdoc\",\n    \"schema_json\": {\n      \"$schema\": \"https://json-schema.org/draft/2020-12/schema\",\n      \"type\": \"object\",\n      \"properties\": {\n        \"org.iso.18013.5.1\": {\n          \"type\": \"object\",\n          \"properties\": {\n            \"email\": { \"type\": \"string\" },\n            \"portrait\": {\n              \"type\": \"string\",\n              \"description\": \"jpeg as base64url encoded\",\n              \"x-cbor-encoding\": \"bstr\"\n            }\n          }\n        }\n      },\n      \"required\": [\"email\", \"portrait\"]\n    }\n  }\n}\n```\n","operationId":"SchemasController_create","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSchemaPayloadDto"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaResponseDto"}}},"description":"Schema successfully created"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidRequestPayloadError"}}},"description":"Invalid request payload"}},"tags":["Schemas"]}}}}
````

## Get schema

> Returns schema information for a given schema id. The schema information includes the JSON schema definition and metadata such as supported credential formats. <br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"SchemaResponseDto":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/SchemaResponseModelDto"}},"required":["schema"]},"SchemaResponseModelDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt","jwt_vc_json","mso_mdoc"]},"schema_json":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","format","schema_json","created_at"]},"InvalidPathParamError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_path_param"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"},"InternalServerError":{"properties":{"error":{"description":"Unique error identifier","enum":["internal_server_error"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas/{id}":{"get":{"summary":"Get schema","description":"Returns schema information for a given schema id. The schema information includes the JSON schema definition and metadata such as supported credential formats. \n","operationId":"SchemasController_findOne","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaResponseDto"}}},"description":"Schema successfully loaded"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidPathParamError"}}},"description":"Invalid path param"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"Schema could not be loaded"}},"tags":["Schemas"]}}}}
```

## Update schema

> Update schema information for a given schema id.\
> \
> \*\*Note\*\*: Updating a schema may have implications on existing credential templates linked to the schema and issued credentials based on those templates. Ensure to review the changes carefully before updating a schema.<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"UpdateSchemaPayloadDto":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/UpdateSchemaDto"}},"required":["schema"]},"UpdateSchemaDto":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":255},"schema_json":{"$ref":"#/components/schemas/CredentialJSONSchemaPayloadDto"}}},"CredentialJSONSchemaPayloadDto":{"type":"object","properties":{"$id":{"type":"string"},"$schema":{"type":"string","enum":["http://json-schema.org/draft-07/schema#","https://json-schema.org/draft/2019-09/schema","https://json-schema.org/draft/2020-12/schema"]},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":true},"name":{"type":"string"},"description":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"properties":{"type":"object","additionalProperties":true},"required":{"type":"array","items":{"type":"string"}},"additionalProperties":{"type":"boolean"}},"required":["$schema","type"],"additionalProperties":true},"SchemaResponseDto":{"type":"object","properties":{"schema":{"$ref":"#/components/schemas/SchemaResponseModelDto"}},"required":["schema"]},"SchemaResponseModelDto":{"type":"object","properties":{"id":{"type":"string","format":"uuid"},"name":{"type":"string"},"format":{"type":"string","enum":["dc+sd-jwt","jwt_vc_json","mso_mdoc"]},"schema_json":{"type":"object","additionalProperties":true},"created_at":{"type":"string","format":"date-time"}},"required":["id","name","format","schema_json","created_at"]},"InvalidPathParamError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_path_param"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"},"InvalidRequestPayloadError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_request_payload"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"},"SchemaNotFoundError":{"properties":{"error":{"description":"Unique error identifier","enum":["schema_not_found"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas/{id}":{"put":{"summary":"Update schema","description":"Update schema information for a given schema id.\n\n**Note**: Updating a schema may have implications on existing credential templates linked to the schema and issued credentials based on those templates. Ensure to review the changes carefully before updating a schema.\n","operationId":"SchemasController_update","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSchemaPayloadDto"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaResponseDto"}}},"description":"Schema successfully updated"},"400":{"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/InvalidPathParamError"},{"$ref":"#/components/schemas/InvalidRequestPayloadError"}]}}},"description":"Invalid path param or payload"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaNotFoundError"}}},"description":"Schema not found"}},"tags":["Schemas"]}}}}
```

## Delete schema

> Deletes a schema by its ID. Schemas that are linked to active credential templates or issued credentials cannot be deleted. Ensure to review the implications before deleting a schema.<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"InvalidPathParamError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_path_param"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"},"SchemaNotFoundError":{"properties":{"error":{"description":"Unique error identifier","enum":["schema_not_found"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas/{id}":{"delete":{"summary":"Delete schema","description":"Deletes a schema by its ID. Schemas that are linked to active credential templates or issued credentials cannot be deleted. Ensure to review the implications before deleting a schema.\n","operationId":"SchemasController_deleteOne","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"204":{"description":"Schema deleted"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidPathParamError"}}},"description":"Invalid path param"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchemaNotFoundError"}}},"description":"Schema not found"}},"tags":["Schemas"]}}}}
```

## Retrieve credential schema definition

> Returns credential schema (\*\*schema\_json\*\* attribute value) in a format described by the \[specification]\(<https://w3c-ccg.github.io/vc-json-schemas/v2/index.html>).<br>

```json
{"openapi":"3.1.0","info":{"title":"SVX Wallet API","version":"4.0.1"},"servers":[{"url":"https://zyfla-wallet-sandbox.meeco.cloud","description":"SVX Wallet deployment (relative)"}],"security":[{},{"bearerAuth":[]},{"mutualTLS":[]}],"components":{"securitySchemes":{"bearerAuth":{"bearerFormat":"JWT","scheme":"bearer","type":"http"},"mutualTLS":{"type":"mutualTLS"}},"schemas":{"CredentialJSONSchemaPayloadDto":{"type":"object","properties":{"$id":{"type":"string"},"$schema":{"type":"string","enum":["http://json-schema.org/draft-07/schema#","https://json-schema.org/draft/2019-09/schema","https://json-schema.org/draft/2020-12/schema"]},"$comment":{"type":"string"},"$defs":{"type":"object","additionalProperties":true},"name":{"type":"string"},"description":{"type":"string"},"title":{"type":"string"},"type":{"type":"string"},"properties":{"type":"object","additionalProperties":true},"required":{"type":"array","items":{"type":"string"}},"additionalProperties":{"type":"boolean"}},"required":["$schema","type"],"additionalProperties":true},"InvalidPathParamError":{"properties":{"error":{"description":"Unique error identifier","enum":["invalid_path_param"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"},"InternalServerError":{"properties":{"error":{"description":"Unique error identifier","enum":["internal_server_error"],"type":"string"},"extra_info":{"description":"Object that may contain more information about the error","type":"object"},"message":{"description":"User friendly error message","type":"string"}},"required":["error","message","extra_info"],"type":"object"}}},"paths":{"/issuer/schemas/{id}/schema.json":{"get":{"summary":"Retrieve credential schema definition","description":"Returns credential schema (**schema_json** attribute value) in a format described by the [specification](https://w3c-ccg.github.io/vc-json-schemas/v2/index.html).\n","operationId":"SchemasController_findOneJSONScheme","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CredentialJSONSchemaPayloadDto"}}},"description":"Schema definition loaded"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvalidPathParamError"}}},"description":"Invalid path param"},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}},"description":"Unsupported schema credential type"}},"tags":["Schemas"]}}}}
```
