{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tenderapi-fr/json-schema/tenderapi-fr-profile-out-schema.json",
  "title": "ProfileOut",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tenderapi-fr-openapi.json#/components/schemas/ProfileOut",
  "properties": {
    "id": {
      "type": "integer",
      "title": "Id"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "siret": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Siret"
    },
    "keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Keywords"
    },
    "cpv_codes": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Cpv Codes"
    },
    "regions": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Regions"
    },
    "departments": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Departments"
    },
    "country": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Country",
      "default": []
    },
    "budget_min": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Min"
    },
    "budget_max": {
      "anyOf": [
        {
          "type": "number"
        },
        {
          "type": "null"
        }
      ],
      "title": "Budget Max"
    },
    "channel": {
      "type": "string",
      "title": "Channel",
      "default": "webhook"
    },
    "webhook_url": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Webhook Url"
    },
    "email_to": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Email To"
    },
    "active": {
      "type": "boolean",
      "title": "Active"
    },
    "match_cpv_family": {
      "type": "boolean",
      "title": "Match Cpv Family"
    },
    "match_descripteur": {
      "type": "boolean",
      "title": "Match Descripteur",
      "default": false
    },
    "descripteur_keywords": {
      "items": {
        "type": "string"
      },
      "type": "array",
      "title": "Descripteur Keywords",
      "default": []
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "title": "Created At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "siret",
    "keywords",
    "cpv_codes",
    "regions",
    "departments",
    "budget_min",
    "budget_max",
    "webhook_url",
    "active",
    "match_cpv_family",
    "created_at"
  ]
}