Schemas metadata Spid/Cie

{
"title": "FAMetadata",
"type": "object",
"properties": {
"contacts": {
"title": "Contacts",
"type": "array",
"items": {
"type": "string",
"format": "email"
}
},
"federation_fetch_endpoint": {
"title": "Federation Fetch Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"federation_resolve_endpoint": {
"title": "Federation Resolve Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"federation_list_endpoint": {
"title": "Federation List Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"homepage_uri": {
"title": "Homepage Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"organization_name": {
"title": "Organization Name",
"type": "string"
}
},
"required": [
"contacts",
"federation_fetch_endpoint",
"federation_resolve_endpoint",
"federation_list_endpoint",
"homepage_uri",
"organization_name"
]
}

{
"title": "OPMetadataSpid",
"type": "object",
"properties": {
"organization_name": {
"title": "Organization Name",
"type": "string"
},
"issuer": {
"title": "Issuer",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"authorization_endpoint": {
"title": "Authorization Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"token_endpoint": {
"title": "Token Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"userinfo_endpoint": {
"title": "Userinfo Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"introspection_endpoint": {
"title": "Introspection Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"revocation_endpoint": {
"title": "Revocation Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"token_endpoint_auth_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"id_token_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"id_token_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"userinfo_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"userinfo_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"request_object_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"request_object_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"id_token_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"userinfo_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"request_object_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"acr_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/AcrValuesSupported"
}
},
"signed_jwks_uri": {
"title": "Signed Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks_uri": {
"title": "Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks": {
"$ref": "#/definitions/JwksCie"
},
"token_endpoint_auth_methods_supported": {
"title": "Token Endpoint Auth Methods Supported",
"default": [
"private_key_jwt"
],
"type": "array",
"items": {}
},
"subject_types_supported": {
"title": "Subject Types Supported",
"default": [
"pairwise"
],
"type": "array",
"items": {}
},
"request_parameter_supported": {
"title": "Request Parameter Supported",
"default": true,
"type": "boolean"
},
"op_name": {
"title": "Op Name",
"type": "string"
},
"op_uri": {
"title": "Op Uri",
"type": "string"
}
},
"required": [
"organization_name",
"issuer",
"authorization_endpoint",
"token_endpoint",
"userinfo_endpoint",
"introspection_endpoint",
"revocation_endpoint",
"token_endpoint_auth_signing_alg_values_supported",
"id_token_encryption_alg_values_supported",
"id_token_encryption_enc_values_supported",
"userinfo_encryption_alg_values_supported",
"userinfo_encryption_enc_values_supported",
"request_object_encryption_alg_values_supported",
"request_object_encryption_enc_values_supported",
"id_token_signing_alg_values_supported",
"userinfo_signing_alg_values_supported",
"request_object_signing_alg_values_supported",
"acr_values_supported"
],
"definitions": {
"SigningAlgValuesSupported": {
"title": "SigningAlgValuesSupported",
"description": "An enumeration.",
"enum": [
"ES256",
"ES384",
"ES512",
"RS256",
"RS384",
"RS512"
],
"type": "string"
},
"EncryptionAlgValuesSupported": {
"title": "EncryptionAlgValuesSupported",
"description": "An enumeration.",
"enum": [
"RSA-OAEP",
"RSA-OAEP-256"
],
"type": "string"
},
"EncryptionEncValuesSupported": {
"title": "EncryptionEncValuesSupported",
"description": "An enumeration.",
"enum": [
"A128CBC-HS256",
"A192CBC-HS384",
"A256CBC-HS512",
"A128GCM",
"A192GCM",
"A256GCM",
"RSA-OAEP-256"
],
"type": "string"
},
"AcrValuesSupported": {
"title": "AcrValuesSupported",
"description": "An enumeration.",
"enum": [
"https://www.spid.gov.it/SpidL1",
"https://www.spid.gov.it/SpidL2",
"https://www.spid.gov.it/SpidL3"
],
"type": "string"
},
"JwkCie": {
"title": "JwkCie",
"type": "object",
"properties": {
"kid": {
"title": "Kid",
"type": "string"
},
"kty": {
"title": "Kty",
"enum": [
"EC",
"RSA"
],
"type": "string"
},
"alg": {
"title": "Alg",
"enum": [
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512"
],
"type": "string"
},
"use": {
"title": "Use",
"enum": [
"sig",
"enc"
],
"type": "string"
},
"n": {
"title": "N",
"type": "string"
},
"e": {
"title": "E",
"type": "string"
},
"x": {
"title": "X",
"type": "string"
},
"y": {
"title": "Y",
"type": "string"
},
"crv": {
"title": "Crv",
"enum": [
"P-256",
"P-384",
"P-521"
],
"type": "string"
}
},
"required": [
"kid",
"kty"
]
},
"JwksCie": {
"title": "JwksCie",
"type": "object",
"properties": {
"keys": {
"title": "Keys",
"type": "array",
"items": {
"$ref": "#/definitions/JwkCie"
}
}
},
"required": [
"keys"
]
}
}
}

{
"title": "OPMetadataCie",
"type": "object",
"properties": {
"organization_name": {
"title": "Organization Name",
"type": "string"
},
"issuer": {
"title": "Issuer",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"authorization_endpoint": {
"title": "Authorization Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"token_endpoint": {
"title": "Token Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"userinfo_endpoint": {
"title": "Userinfo Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"introspection_endpoint": {
"title": "Introspection Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"revocation_endpoint": {
"title": "Revocation Endpoint",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"token_endpoint_auth_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"id_token_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"id_token_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"userinfo_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"userinfo_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"request_object_encryption_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionAlgValuesSupported"
}
},
"request_object_encryption_enc_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/EncryptionEncValuesSupported"
}
},
"id_token_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"userinfo_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"request_object_signing_alg_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/SigningAlgValuesSupported"
}
},
"acr_values_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/AcrValuesSupported"
}
},
"signed_jwks_uri": {
"title": "Signed Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks_uri": {
"title": "Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks": {
"$ref": "#/definitions/JwksCie"
},
"token_endpoint_auth_methods_supported": {
"title": "Token Endpoint Auth Methods Supported",
"default": [
"private_key_jwt"
],
"type": "array",
"items": {}
},
"subject_types_supported": {
"title": "Subject Types Supported",
"default": [
"pairwise"
],
"type": "array",
"items": {}
},
"request_parameter_supported": {
"title": "Request Parameter Supported",
"default": true,
"type": "boolean"
},
"scopes_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/ScopeSupported"
}
},
"response_modes_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/ResponseModesSupported"
}
},
"grant_types_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/GrantTypeSupported"
}
},
"claims_supported": {
"type": "array",
"items": {
"$ref": "#/definitions/ClaimsSupported"
}
},
"response_types_supported": {
"title": "Response Types Supported",
"default": [
"code"
],
"type": "array",
"items": {}
},
"claims_parameter_supported": {
"title": "Claims Parameter Supported",
"default": true,
"type": "boolean"
},
"tls_client_certificate_bound_access_tokens": {
"title": "Tls Client Certificate Bound Access Tokens",
"default": true,
"type": "boolean"
},
"authorization_response_iss_parameter_supported": {
"title": "Authorization Response Iss Parameter Supported",
"default": true,
"type": "boolean"
}
},
"required": [
"organization_name",
"issuer",
"authorization_endpoint",
"token_endpoint",
"userinfo_endpoint",
"introspection_endpoint",
"revocation_endpoint",
"token_endpoint_auth_signing_alg_values_supported",
"id_token_encryption_alg_values_supported",
"id_token_encryption_enc_values_supported",
"userinfo_encryption_alg_values_supported",
"userinfo_encryption_enc_values_supported",
"request_object_encryption_alg_values_supported",
"request_object_encryption_enc_values_supported",
"id_token_signing_alg_values_supported",
"userinfo_signing_alg_values_supported",
"request_object_signing_alg_values_supported",
"acr_values_supported",
"scopes_supported",
"response_modes_supported",
"grant_types_supported",
"claims_supported"
],
"definitions": {
"SigningAlgValuesSupported": {
"title": "SigningAlgValuesSupported",
"description": "An enumeration.",
"enum": [
"ES256",
"ES384",
"ES512",
"RS256",
"RS384",
"RS512"
],
"type": "string"
},
"EncryptionAlgValuesSupported": {
"title": "EncryptionAlgValuesSupported",
"description": "An enumeration.",
"enum": [
"RSA-OAEP",
"RSA-OAEP-256"
],
"type": "string"
},
"EncryptionEncValuesSupported": {
"title": "EncryptionEncValuesSupported",
"description": "An enumeration.",
"enum": [
"A128CBC-HS256",
"A192CBC-HS384",
"A256CBC-HS512",
"A128GCM",
"A192GCM",
"A256GCM",
"RSA-OAEP-256"
],
"type": "string"
},
"AcrValuesSupported": {
"title": "AcrValuesSupported",
"description": "An enumeration.",
"enum": [
"https://www.spid.gov.it/SpidL1",
"https://www.spid.gov.it/SpidL2",
"https://www.spid.gov.it/SpidL3"
],
"type": "string"
},
"JwkCie": {
"title": "JwkCie",
"type": "object",
"properties": {
"kid": {
"title": "Kid",
"type": "string"
},
"kty": {
"title": "Kty",
"enum": [
"EC",
"RSA"
],
"type": "string"
},
"alg": {
"title": "Alg",
"enum": [
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512"
],
"type": "string"
},
"use": {
"title": "Use",
"enum": [
"sig",
"enc"
],
"type": "string"
},
"n": {
"title": "N",
"type": "string"
},
"e": {
"title": "E",
"type": "string"
},
"x": {
"title": "X",
"type": "string"
},
"y": {
"title": "Y",
"type": "string"
},
"crv": {
"title": "Crv",
"enum": [
"P-256",
"P-384",
"P-521"
],
"type": "string"
}
},
"required": [
"kid",
"kty"
]
},
"JwksCie": {
"title": "JwksCie",
"type": "object",
"properties": {
"keys": {
"title": "Keys",
"type": "array",
"items": {
"$ref": "#/definitions/JwkCie"
}
}
},
"required": [
"keys"
]
},
"ScopeSupported": {
"title": "ScopeSupported",
"description": "An enumeration.",
"enum": [
"openid",
"offline_access",
"profile",
"email"
],
"type": "string"
},
"ResponseModesSupported": {
"title": "ResponseModesSupported",
"description": "An enumeration.",
"enum": [
"form_post",
"query"
],
"type": "string"
},
"GrantTypeSupported": {
"title": "GrantTypeSupported",
"description": "An enumeration.",
"enum": [
"refresh_token",
"authorization_code"
],
"type": "string"
},
"ClaimsSupported": {
"title": "ClaimsSupported",
"description": "An enumeration.",
"enum": [
"given_name",
"family_name",
"email",
"email_verified",
"gender",
"birthdate",
"phone_number",
"phone_number_verified",
"place_of_birth",
"address",
"document_details",
"https://attributes.eid.gov.it/e_delivery_service",
"https://attributes.eid.gov.it/fiscal_number",
"https://attributes.eid.gov.it/idANPR",
"https://attributes.eid.gov.it/physical_phone_number"
],
"type": "string"
}
}
}

{
"title": "RPMetadataSpid",
"type": "object",
"properties": {
"organization_name": {
"title": "Organization Name",
"type": "string"
},
"redirect_uris": {
"title": "Redirect Uris",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2083,
"format": "uri"
}
},
"grant_types": {
"type": "array",
"items": {
"$ref": "#/definitions/GrantTypeSupported"
}
},
"client_id": {
"title": "Client Id",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"client_name": {
"title": "Client Name",
"type": "string"
},
"signed_jwks_uri": {
"title": "Signed Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks_uri": {
"title": "Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks": {
"$ref": "#/definitions/JwksSpid"
},
"response_types": {
"title": "Response Types",
"default": [
"code"
],
"type": "array",
"items": {}
}
},
"required": [
"organization_name",
"redirect_uris",
"grant_types",
"client_id",
"client_name"
],
"definitions": {
"GrantTypeSupported": {
"title": "GrantTypeSupported",
"description": "An enumeration.",
"enum": [
"refresh_token",
"authorization_code"
],
"type": "string"
},
"Jwk": {
"title": "Jwk",
"type": "object",
"properties": {
"kid": {
"title": "Kid",
"type": "string"
},
"kty": {
"title": "Kty",
"enum": [
"EC",
"RSA"
],
"type": "string"
},
"alg": {
"title": "Alg",
"enum": [
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512"
],
"type": "string"
},
"use": {
"title": "Use",
"enum": [
"sig",
"enc"
],
"type": "string"
},
"n": {
"title": "N",
"type": "string"
},
"e": {
"title": "E",
"type": "string"
}
},
"required": [
"kid",
"kty"
]
},
"JwksSpid": {
"title": "JwksSpid",
"type": "object",
"properties": {
"keys": {
"title": "Keys",
"type": "array",
"items": {
"$ref": "#/definitions/Jwk"
}
}
},
"required": [
"keys"
]
}
}
}

{
"title": "RPMetadataCie",
"type": "object",
"properties": {
"organization_name": {
"title": "Organization Name",
"type": "string"
},
"redirect_uris": {
"title": "Redirect Uris",
"type": "array",
"items": {
"type": "string",
"minLength": 1,
"maxLength": 2083,
"format": "uri"
}
},
"grant_types": {
"type": "array",
"items": {
"$ref": "#/definitions/GrantTypeSupported"
}
},
"client_id": {
"title": "Client Id",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"client_name": {
"title": "Client Name",
"type": "string"
},
"signed_jwks_uri": {
"title": "Signed Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks_uri": {
"title": "Jwks Uri",
"minLength": 1,
"maxLength": 2083,
"format": "uri",
"type": "string"
},
"jwks": {
"$ref": "#/definitions/JwksSpid"
},
"response_types": {
"title": "Response Types",
"default": [
"code"
],
"type": "array",
"items": {}
},
"tls_client_certificate_bound_access_tokens": {
"title": "Tls Client Certificate Bound Access Tokens",
"type": "boolean"
},
"application_type": {
"title": "Application Type",
"default": "web",
"type": "string"
}
},
"required": [
"organization_name",
"redirect_uris",
"grant_types",
"client_id",
"client_name"
],
"definitions": {
"GrantTypeSupported": {
"title": "GrantTypeSupported",
"description": "An enumeration.",
"enum": [
"refresh_token",
"authorization_code"
],
"type": "string"
},
"Jwk": {
"title": "Jwk",
"type": "object",
"properties": {
"kid": {
"title": "Kid",
"type": "string"
},
"kty": {
"title": "Kty",
"enum": [
"EC",
"RSA"
],
"type": "string"
},
"alg": {
"title": "Alg",
"enum": [
"RS256",
"RS384",
"RS512",
"ES256",
"ES384",
"ES512",
"PS256",
"PS384",
"PS512"
],
"type": "string"
},
"use": {
"title": "Use",
"enum": [
"sig",
"enc"
],
"type": "string"
},
"n": {
"title": "N",
"type": "string"
},
"e": {
"title": "E",
"type": "string"
}
},
"required": [
"kid",
"kty"
]
},
"JwksSpid": {
"title": "JwksSpid",
"type": "object",
"properties": {
"keys": {
"title": "Keys",
"type": "array",
"items": {
"$ref": "#/definitions/Jwk"
}
}
},
"required": [
"keys"
]
}
}
}