{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/geniusdecision-app/json-schema/geniusdecision-app-hours-input-schema.json",
  "title": "HoursInput",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/geniusdecision-app-openapi.json#/components/schemas/HoursInput",
  "type": "object",
  "properties": {
    "permission_confirmed": {
      "const": true,
      "description": "Explicit authority to process the submitted data; not an assertion of human consent on someone's behalf."
    },
    "scope_acknowledged": {
      "const": true,
      "description": "Explicit acknowledgment of the bounded, low-risk profile."
    },
    "evidence_origin": {
      "type": "string",
      "enum": [
        "synthetic",
        "user_declared"
      ],
      "description": "A declaration, not verified field evidence."
    },
    "assignments": {
      "type": "array",
      "minItems": 1,
      "maxItems": 100,
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[A-Za-z0-9_-]+$",
            "maxLength": 64,
            "minLength": 1
          },
          "credit": {
            "type": [
              "string",
              "null"
            ],
            "minLength": 1,
            "maxLength": 64,
            "description": "Exact nonnegative integer, decimal or fraction; no exponent. null means unknown."
          }
        },
        "required": [
          "id"
        ]
      }
    },
    "target": {
      "type": [
        "string",
        "null"
      ],
      "minLength": 1,
      "maxLength": 64,
      "description": "Exact nonnegative numeric string, or null for unknown."
    }
  },
  "required": [
    "assignments",
    "permission_confirmed",
    "scope_acknowledged"
  ]
}