Hi,
working with configurations, I wanted to validate the following saml.json
{
"SAML": {
"$schema": "https://www.componentspace.com/schemas/saml-config-schema-v1.0.json",
"Configurations": [
{
"LocalIdentityProviderConfiguration": {
"Name": "https://ExampleIdentityProvider",
"Description": "Example Identity Provider",
"SingleSignOnServiceUrl": "https://localhost:44313/SAML/SingleSignOnService",
"LocalCertificates": [
{
"FileName": "certificates/idp.pfx",
"Password": "password"
}
]
},
"PartnerServiceProviderConfigurations": [
{
"Name": "https://ExampleServiceProvider",
"Description": "Example Service Provider",
"AssertionConsumerServiceUrl": "https://localhost:44360/SAML/AssertionConsumerService",
"SingleLogoutServiceUrl": "https://localhost:44360/SAML/SingleLogoutService",
"PartnerCertificates": [
{
"FileName": "certificates/sp.cer"
}
]
}
]
}
]
}
}
using the json schema componentspace.com/schemas/saml-config-schema-v1.0.json.
But it fails.
I also used JSON Schema Validator - Newtonsoft to investigate and I found out that the problem is in the last lines of the schema
"required": [ "Configurations" ]
If i remove them, validation works.
But my saml.json contains the property Configuration.
What am I doing wrong?
Thank you
Fabio