add list of types in schemas

This commit is contained in:
Cayo Puigdefabregas 2024-02-16 09:01:46 +01:00
parent 2616f48dfc
commit c186207aa3
5 changed files with 12 additions and 12 deletions

View File

@ -103,7 +103,7 @@
"description": "The framework in which the course belongs to" "description": "The framework in which the course belongs to"
}, },
"courseCredits": { "courseCredits": {
"type": "integer", "type": ["number", "string"],
"description": "The number of (ECTS) credits awarded for the course" "description": "The number of (ECTS) credits awarded for the course"
}, },
"dateOfAssessment": { "dateOfAssessment": {

View File

@ -50,11 +50,11 @@
}, },
"operatorNumber": { "operatorNumber": {
"description": "Operator number awarded by accrediting entity", "description": "Operator number awarded by accrediting entity",
"type": "string" "type": ["number", "string"]
}, },
"limitJurisdiction": { "limitJurisdiction": {
"description": "Regional scope", "description": "Regional scope",
"type": "string" "type": ["number", "string"]
}, },
"accreditedFor": { "accreditedFor": {
"description": "Operation type: e.g. manufacture, repair, refurbishment, remanufacture, transport, dismantle, recycle, verification, audit", "description": "Operation type: e.g. manufacture, repair, refurbishment, remanufacture, transport, dismantle, recycle, verification, audit",

View File

@ -46,7 +46,7 @@
}, },
"registrationIdentifier": { "registrationIdentifier": {
"description": "Registration identifier of the affiliated organisation", "description": "Registration identifier of the affiliated organisation",
"type": "string" "type": ["number", "string"]
}, },
"publicRegistry": { "publicRegistry": {
"description": "Registry where the affiliated organisation is registered: 'Generalitat de Catalunya', 'Ministerio del interior de España'", "description": "Registry where the affiliated organisation is registered: 'Generalitat de Catalunya', 'Ministerio del interior de España'",
@ -58,7 +58,7 @@
}, },
"postCode": { "postCode": {
"description": "Postal code of the member organisation", "description": "Postal code of the member organisation",
"type": "string" "type": ["number", "string"]
}, },
"city": { "city": {
"description": "City of the member organisation", "description": "City of the member organisation",
@ -66,7 +66,7 @@
}, },
"taxReference": { "taxReference": {
"description": "Tax reference as VAT registration of the member organisation", "description": "Tax reference as VAT registration of the member organisation",
"type": "string" "type": ["number", "string"]
}, },
"membershipType": { "membershipType": {
"description": "Type of membership: full / observer", "description": "Type of membership: full / observer",
@ -78,7 +78,7 @@
}, },
"membershipId": { "membershipId": {
"description": "Membership identifier: an internal unique number or code", "description": "Membership identifier: an internal unique number or code",
"type": "string" "type": ["number", "string"]
}, },
"membershipSince": { "membershipSince": {
"type": "string", "type": "string",
@ -89,7 +89,7 @@
"format": "email" "format": "email"
}, },
"phone": { "phone": {
"type": "string" "type": ["number", "string"]
}, },
"website": { "website": {
"type": "string", "type": "string",

View File

@ -45,7 +45,7 @@
"format": "email" "format": "email"
}, },
"phoneNumber": { "phoneNumber": {
"type": "string" "type": ["number", "string"]
}, },
"identityDocType": { "identityDocType": {
"description": "Type of the Identity Document of the credential subject", "description": "Type of the Identity Document of the credential subject",
@ -69,10 +69,10 @@
}, },
"financialVulnerabilityScore": { "financialVulnerabilityScore": {
"description": "Measure of an individual's susceptibility to financial hardship", "description": "Measure of an individual's susceptibility to financial hardship",
"type": "string" "type": ["number", "string"]
}, },
"amountCoveredByOtherAids": { "amountCoveredByOtherAids": {
"type": "string" "type": ["number", "string"]
}, },
"connectivityOptionList": { "connectivityOptionList": {
"type": "string" "type": "string"

View File

@ -42,7 +42,7 @@
}, },
"membershipId": { "membershipId": {
"description": "Membership identifier", "description": "Membership identifier",
"type": "string" "type": ["number", "string"]
}, },
"affiliatedSince": { "affiliatedSince": {
"type": "string", "type": "string",