{
  "openapi" : "3.1.0",
  "paths" : {
    "/validate" : {
      "post" : {
        "summary" : "Validates a given XML against EN 16931 rules",
        "description" : "Depending on the <CustomizationID> appropriate validation rules will be applied to the XML via an XSLT transformation.\nThe resulting XML will contain the validation warnings and errors.",
        "requestBody" : {
          "content" : {
            "text/plain" : {
              "schema" : {
                "type" : "string"
              }
            }
          },
          "required" : true
        },
        "responses" : {
          "200" : {
            "description" : "The validation could be applied, result will contain validation warnings/errors"
          },
          "400" : {
            "description" : "The validation could not be applied, e.g. because the passed body could not be parsed as XML"
          },
          "500" : {
            "description" : "Internal server error"
          }
        },
        "tags" : [ "En 16931 Invoice Resource" ]
      }
    }
  },
  "components" : {
    "securitySchemes" : {
      "SecurityScheme" : {
        "description" : "Authentication",
        "type" : "http",
        "scheme" : "bearer",
        "bearerFormat" : "JWT"
      }
    }
  },
  "info" : {
    "title" : "Scope YourService API",
    "version" : "1.0",
    "termsOfService" : "https://www.riege.com/terms/",
    "contact" : {
      "name" : "Riege Software International GmbH",
      "email" : "info.de@riege.com",
      "url" : "https://www.riege.com/contact/"
    }
  }
}