<commit_before>{
  "id": "schemata/<%= resource %>",
  "title": "FIXME - <%= resource.capitalize %>",
  "definitions": {
    "id": {
      "description": "unique identifier of <%= resource %>",
      "example": "01234567-89ab-cdef-0123-456789abcdef",
      "format": "uuid",
      "type": ["string"]
    },
    "identity": {
      "$ref": "/schemata/<%= resource %>#/definitions/id"
    },
    "created_at": {
      "description": "when <%= resource %> was created",
      "example": "2012-01-01T12:00:00Z",
      "format": "date-time",
      "type": ["string"]
    },
    "updated_at": {
      "description": "when <%= resource %> was updated",
      "example": "2012-01-01T12:00:00Z",
      "format": "date-time",
      "type": ["string"]
    }
  },
  "properties": {
    "created_at": {
      "$ref": "/schemata/<%= resource %>#/definitions/created_at"
    },
    "id": {
      "$ref": "/schemata/<%= resource %>#/definitions/id"
    },
    "updated_at": {
      "$ref": "/schemata/<%= resource %>#/definitions/updated_at"
    }
  },
  "links": [
    {
      "description": "Create a new <%= resource %>.",
      "href": "/<%= resource %>s",
      "method": "POST",
      "rel": "create",
      "schema": {
        "properties": {},
        "type": ["object"]
      },
      "title": "Create"
    },
    {
      "description": "Delete an existing <%= resource %>.",
      "href": "/<%= resource %>s/{(%2Fschemata%2F<%= resource %>%23%2Fdefinitions%2Fidentity)}",
      "method": "DELETE",
      "rel": "destroy",
      "title": "Delete"
    },<commit_msg>Fixes identity property and adds readonly property.<commit_after>{
  "id": "schemata/<%= resource %>",
  "title": "FIXME - <%= resource.capitalize %>",
  "definitions": {
    "id": {
      "description": "unique identifier of <%= resource %>",
      "example": "01234567-89ab-cdef-0123-456789abcdef",
      "readOnly": true,
      "format": "uuid",
      "type": ["string"]
    },
    "name": {
      "description": "unique name of <%= resource %>",
      "example": "name",
      "readOnly": true,
      "type": ["string"]
    },
    "identity": {
      "anyOf": [
        {
          "$ref": "/schemata/<%= resource %>#/definitions/id"
	},
	{
          "$ref": "/schemata/<%= resource %>#/definitions/name"
	}
      ]
    },
    "created_at": {
      "description": "when <%= resource %> was created",
      "example": "2012-01-01T12:00:00Z",
      "format": "date-time",
      "type": ["string"]
    },
    "updated_at": {
      "description": "when <%= resource %> was updated",
      "example": "2012-01-01T12:00:00Z",
      "format": "date-time",
      "type": ["string"]
    }
  },
  "properties": {
    "created_at": {
      "$ref": "/schemata/<%= resource %>#/definitions/created_at"
    },
    "id": {
      "$ref": "/schemata/<%= resource %>#/definitions/id"
    },
    "name": {
      "$ref": "/schemata/<%= resource %>#/definitions/name"
    },
    "updated_at": {
      "$ref": "/schemata/<%= resource %>#/definitions/updated_at"
    }
  },
  "links": [
    {
      "description": "Create a new <%= resource %>.",
      "href": "/<%= resource %>s",
      "method": "POST",
      "rel": "create",
      "schema": {
        "properties": {},
        "type": ["object"]
      },
      "title": "Create"
    },
    {
      "description": "Delete an existing <%= resource %>.",
      "href": "/<%= resource %>s/{(%2Fschemata%2F<%= resource %>%23%2Fdefinitions%2Fidentity)}",
      "method": "DELETE",
      "rel": "destroy",
      "title": "Delete"
    },
{'fraction_non_alphanumeric': 0.23764906303236796, 'fraction_numerical': 0.030664395229982964, 'mean_word_length': 2.417070805043647, 'pattern_counts': {'":': 92, '<': 34, '<?xml version=': 0, '>': 34, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3004727', 'n_tokens_mistral': 1333, 'n_tokens_neox': 1198, 'n_words': 230}