{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/rwth-aachen-university/json-schema/rwth-aachen-university-application-profile-for-creation-dto-schema.json",
  "title": "ApplicationProfileForCreationDto",
  "description": "Data transfer object (DTO) representing the creation of an application profile.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/rwth-aachen-university-applicationprofile-api-openapi.yml#/components/schemas/ApplicationProfileForCreationDto",
  "required": [
    "definition",
    "name",
    "uri"
  ],
  "type": "object",
  "properties": {
    "name": {
      "minLength": 1,
      "type": "string",
      "description": "Gets or initializes the name of the application profile."
    },
    "uri": {
      "type": "string",
      "description": "Gets or initializes the URI of the application profile.",
      "format": "uri"
    },
    "definition": {
      "$ref": "#/$defs/RdfDefinitionForManipulationDto"
    }
  },
  "additionalProperties": false,
  "$defs": {
    "RdfDefinitionForManipulationDto": {
      "required": [
        "content",
        "type"
      ],
      "type": "object",
      "properties": {
        "content": {
          "minLength": 1,
          "type": "string",
          "description": "The content of the RDF definition."
        },
        "type": {
          "$ref": "#/$defs/RdfFormat"
        }
      },
      "additionalProperties": false,
      "description": "Represents the data transfer object (DTO) used for manipulating RDF definitions."
    },
    "RdfFormat": {
      "enum": [
        "text/turtle",
        "application/ld+json",
        "application/x-trig",
        "application/n-quads"
      ],
      "type": "string",
      "description": "Specifies the RDF <i>(Resource Description Framework)</i> format."
    }
  }
}