{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compteam-io/json-schema/compteam-io-result-create-schema.json",
  "title": "ResultCreate",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compteam-io-competitions-api-openapi.yml#/components/schemas/ResultCreate",
  "properties": {
    "entry_id": {
      "type": "string",
      "format": "uuid",
      "title": "Entry Id"
    },
    "placement": {
      "type": "string",
      "title": "Placement"
    },
    "division": {
      "type": "string",
      "title": "Division"
    },
    "opponent_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Opponent Name"
    },
    "win_method": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Win Method"
    },
    "submission_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Submission Name"
    },
    "match_duration_seconds": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Match Duration Seconds"
    },
    "wins": {
      "type": "integer",
      "title": "Wins",
      "default": 0
    },
    "losses": {
      "type": "integer",
      "title": "Losses",
      "default": 0
    },
    "notes": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Notes"
    }
  },
  "type": "object",
  "required": [
    "entry_id",
    "placement",
    "division"
  ]
}