{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/304notfound-com/json-schema/304notfound-com-self-service-key-request-schema.json",
  "title": "SelfServiceKeyRequest",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/304notfound-com-openapi.json#/components/schemas/SelfServiceKeyRequest",
  "properties": {
    "agent": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "title": "Agent",
      "description": "Nom (et version) de votre agent ou de votre outil."
    },
    "use_case": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 500
        },
        {
          "type": "null"
        }
      ],
      "title": "Use Case",
      "description": "Facultatif : à quoi vont servir vos questions (sans données personnelles)."
    },
    "contact": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 200
        },
        {
          "type": "null"
        }
      ],
      "title": "Contact",
      "description": "Facultatif : une adresse ou une page pour vous joindre."
    }
  },
  "type": "object",
  "required": [
    "agent"
  ]
}