{
  "id": "square_access_token",
  "kind": "datatype",
  "status": "draft",
  "name": "Square access token",
  "doc": "Personal or OAuth access token of the Square APIs. Square does not document the format; secret scanners such as gitleaks recognize it by the prefix EAAA or the older prefix sq0atp- followed by 22 to 60 letters, digits, underscores or hyphens.",
  "parent": "access_token",
  "is_pii": false,
  "categories": [
    "secrets"
  ],
  "langs": [
    "common"
  ],
  "classification": "identifier",
  "regexp": "^(?:EAAA|sq0atp-)[A-Za-z0-9_-]{22,60}$",
  "examples": [
    {
      "value": "EAAAExampleTokenExampleTokenExampleTokenExampleTokenExampleToken",
      "description": "Constructed, non-functional value",
      "valid": true
    }
  ],
  "links": [
    {
      "type": "doc",
      "url": "https://developer.squareup.com/docs/build-basics/access-tokens"
    },
    {
      "type": "other",
      "url": "https://github.com/gitleaks/gitleaks/blob/master/config/gitleaks.toml"
    }
  ],
  "detected_by": {
    "tools": [
      "gitleaks",
      "semgrep",
      "trufflehog"
    ]
  },
  "quality": {
    "score": 73,
    "missing": [
      "second example",
      "negative example",
      "mapping (Wikidata, Schema.org, ...)",
      "translation"
    ]
  },
  "source": {
    "path": "data/datatypes/any/secrets/square_access_token.yaml",
    "url": "https://github.com/apicrafter/metacrafter-registry/blob/main/data/datatypes/any/secrets/square_access_token.yaml",
    "edit_url": "https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/secrets/square_access_token.yaml"
  },
  "urls": {
    "html": "http://registry.apicrafter.io/datatype/square_access_token",
    "json": "http://registry.apicrafter.io/api/v1/datatypes/square_access_token.json"
  }
}