{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nomado24-de/json-schema/nomado24-de-jobs-v2-response-schema.json",
  "title": "JobsV2Response",
  "x-generated": "2026-11-19",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nomado24-de-openapi.yaml#/components/schemas/JobsV2Response",
  "type": "object",
  "required": [
    "data",
    "pagination",
    "generatedAt",
    "snapshotId",
    "changeWatermark",
    "resultStatus",
    "attribution"
  ],
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/JobV2"
      }
    },
    "pagination": {
      "type": "object",
      "required": [
        "nextCursor",
        "hasNext",
        "limit",
        "total",
        "totalRelation"
      ],
      "properties": {
        "cursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "nextCursor": {
          "type": [
            "string",
            "null"
          ]
        },
        "hasNext": {
          "type": "boolean"
        },
        "limit": {
          "type": "integer"
        },
        "total": {
          "type": "null"
        },
        "totalRelation": {
          "const": "not_computed"
        }
      }
    },
    "generatedAt": {
      "type": "string",
      "format": "date-time"
    },
    "snapshotId": {
      "type": "string"
    },
    "changeWatermark": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "resultStatus": {
      "enum": [
        "ok",
        "empty"
      ]
    },
    "attribution": {
      "type": "object",
      "required": [
        "text",
        "license",
        "rights",
        "docsUrl",
        "requiredLinkUrl"
      ],
      "properties": {
        "text": {
          "type": "string"
        },
        "license": {
          "type": [
            "string",
            "null"
          ],
          "description": "No blanket content licence is granted."
        },
        "rights": {
          "$ref": "#/$defs/ContentRights"
        },
        "docsUrl": {
          "type": "string",
          "format": "uri"
        },
        "requiredLinkUrl": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  },
  "$defs": {
    "ContentRights": {
      "type": "object",
      "required": [
        "thirdPartyRightsReserved",
        "notice"
      ],
      "properties": {
        "thirdPartyRightsReserved": {
          "type": "boolean",
          "const": true
        },
        "notice": {
          "type": "string"
        }
      }
    },
    "FieldOrigin": {
      "type": "object",
      "required": [
        "type",
        "sourceId",
        "evidenceUrl",
        "observedAt",
        "method",
        "methodVersion",
        "confidence"
      ],
      "properties": {
        "type": {
          "enum": [
            "employer_fact",
            "source_fact",
            "nomado24_classification",
            "legal_derivation"
          ]
        },
        "sourceId": {
          "type": [
            "string",
            "null"
          ]
        },
        "evidenceUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "observedAt": {
          "type": "string",
          "format": "date-time"
        },
        "method": {
          "type": [
            "string",
            "null"
          ]
        },
        "methodVersion": {
          "type": [
            "string",
            "null"
          ]
        },
        "confidence": {
          "type": [
            "number",
            "null"
          ]
        }
      }
    },
    "JobV2": {
      "type": "object",
      "description": "Canonical job projection with source facts, classifications and legal derivations distinguished by dataOrigin. Null or empty fields are unknown or withheld. Copied posting text and source/application URLs are withheld by default unless separately documented redistribution permission exists. Salary min/max use salary.period (month, or hour without a supported monthly equivalent). normalizedAnnual is null without supported weekly hours; salary sorting puts unknowns last. Cite canonicalUrl and retain verification.method.",
      "required": [
        "id",
        "canonicalUrl",
        "title",
        "company",
        "description",
        "workArrangement",
        "applicantLocations",
        "location",
        "salary",
        "salaryOrigin",
        "sourceUrl",
        "verification",
        "dataOrigin",
        "employmentType",
        "category",
        "seniority",
        "skills",
        "languages",
        "publishedAt",
        "firstSeenAt",
        "lastVerifiedAt",
        "updatedAt",
        "expiresAt",
        "source",
        "status",
        "legalInformation"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "canonicalUrl": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "company": {
          "type": [
            "object",
            "null"
          ],
          "required": [
            "id",
            "name",
            "slug",
            "canonicalUrl",
            "logoUrl"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "slug": {
              "type": "string"
            },
            "canonicalUrl": {
              "type": "string",
              "format": "uri"
            },
            "logoUrl": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "description": {
          "description": "Null by default. Copied text and narrative summaries require separately documented redistribution permission.",
          "type": [
            "object",
            "null"
          ],
          "required": [
            "html",
            "text",
            "summary",
            "contentLanguage",
            "truncated"
          ],
          "properties": {
            "html": {
              "type": [
                "string",
                "null"
              ]
            },
            "text": {
              "type": "string"
            },
            "summary": {
              "type": [
                "string",
                "null"
              ]
            },
            "contentLanguage": {
              "type": "string"
            },
            "truncated": {
              "type": "boolean"
            }
          }
        },
        "workArrangement": {
          "enum": [
            "remote",
            "hybrid",
            "unknown"
          ]
        },
        "applicantLocations": {
          "type": "object",
          "required": [
            "worldwide",
            "countries",
            "regions",
            "rawText"
          ],
          "properties": {
            "worldwide": {
              "type": "boolean",
              "description": "Broad worldwide eligibility; excludedCountries still take precedence. The unrestricted WORLDWIDE filter requires no exclusions."
            },
            "countries": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "regions": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "excludedCountries": {
              "type": "array",
              "description": "Explicit applicant residence exclusions, overriding any broader region or country hint.",
              "items": {
                "type": "string"
              }
            },
            "rawText": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "location": {
          "type": "object",
          "required": [
            "raw",
            "countryCode",
            "regionCode",
            "city"
          ],
          "properties": {
            "raw": {
              "type": [
                "string",
                "null"
              ]
            },
            "countryCode": {
              "type": [
                "string",
                "null"
              ]
            },
            "regionCode": {
              "type": [
                "string",
                "null"
              ]
            },
            "city": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "salary": {
          "type": [
            "object",
            "null"
          ],
          "required": [
            "min",
            "max",
            "currency",
            "period",
            "gross",
            "rawText",
            "normalizedAnnual",
            "confidence",
            "statedPeriod"
          ],
          "properties": {
            "min": {
              "type": [
                "number",
                "null"
              ]
            },
            "max": {
              "type": [
                "number",
                "null"
              ]
            },
            "currency": {
              "const": "EUR"
            },
            "period": {
              "enum": [
                "month",
                "hour"
              ]
            },
            "gross": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "rawText": {
              "type": [
                "string",
                "null"
              ]
            },
            "normalizedAnnual": {
              "type": "object",
              "required": [
                "min",
                "max"
              ],
              "properties": {
                "min": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "max": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              }
            },
            "confidence": {
              "type": [
                "number",
                "null"
              ]
            },
            "statedPeriod": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "salaryOrigin": {
          "enum": [
            "source_structured",
            "nomado24_extracted",
            "legal_derivation",
            "unknown"
          ]
        },
        "sourceUrl": {
          "description": "Null by default. External source or application URLs require separately documented redistribution permission; use canonicalUrl.",
          "type": [
            "string",
            "null"
          ]
        },
        "verification": {
          "type": "object",
          "required": [
            "status",
            "method",
            "checkedAt"
          ],
          "properties": {
            "status": {
              "enum": [
                "active",
                "expired",
                "unknown"
              ]
            },
            "method": {
              "enum": [
                "source_http",
                "feed_presence",
                "unknown"
              ]
            },
            "checkedAt": {
              "type": "string",
              "format": "date-time"
            }
          }
        },
        "dataOrigin": {
          "type": "object",
          "required": [
            "fields"
          ],
          "properties": {
            "fields": {
              "type": "object",
              "additionalProperties": {
                "$ref": "#/$defs/FieldOrigin"
              }
            }
          }
        },
        "employmentType": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "category": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "seniority": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "skills": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "id",
              "slug",
              "name",
              "category",
              "confidence"
            ],
            "properties": {
              "id": {
                "type": "string"
              },
              "slug": {
                "type": "string"
              },
              "name": {
                "type": "string"
              },
              "category": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "confidence": {
                "type": [
                  "number",
                  "null"
                ]
              }
            }
          }
        },
        "languages": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "code",
              "required",
              "level"
            ],
            "properties": {
              "code": {
                "type": "string"
              },
              "required": {
                "type": "boolean"
              },
              "level": {
                "type": [
                  "string",
                  "null"
                ]
              }
            }
          }
        },
        "publishedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "firstSeenAt": {
          "type": "string",
          "format": "date-time"
        },
        "lastVerifiedAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "expiresAt": {
          "type": [
            "string",
            "null"
          ],
          "format": "date-time"
        },
        "source": {
          "type": "object",
          "required": [
            "id",
            "name",
            "kind"
          ],
          "properties": {
            "id": {
              "type": "string"
            },
            "name": {
              "type": "string"
            },
            "kind": {
              "type": "string"
            }
          }
        },
        "status": {
          "enum": [
            "active",
            "expired",
            "unknown"
          ]
        },
        "legalInformation": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "key",
              "value",
              "jurisdiction",
              "ruleId",
              "ruleVersion",
              "effectiveAt",
              "explanation"
            ],
            "properties": {
              "key": {
                "type": "string"
              },
              "value": {
                "type": "number"
              },
              "jurisdiction": {
                "type": "string"
              },
              "ruleId": {
                "type": "string"
              },
              "ruleVersion": {
                "type": "string"
              },
              "effectiveAt": {
                "type": "string"
              },
              "explanation": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}