definition:
  language:
    java:
      - name: "Oracle JDBC"
        prefix: "oracle.jdbc."
        provider: DATASTORE
        rule: "oracle\\.jdbc\\..*\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "PostgreSQL JDBC"
        prefix: "org.postgresql."
        provider: DATASTORE
        rule: "org\\.postgresql\\..*\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "MySQL JDBC"
        prefix: "com.mysql."
        provider: DATASTORE
        rule: "com\\.mysql\\..*\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Hibernate ORM"
        prefix: "org.hibernate."
        provider: ORM
        rule: "org\\.hibernate\\..*\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "Spring Data JPA"
        prefix: "org.springframework.data.jpa."
        provider: ORM
    python:
      - name: "SQLAlchemy ORM"
        prefix: "sqlalchemy.orm."
        provider: ORM
        rule: "sqlalchemy\\.orm\\..*\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "psycopg2 PostgreSQL driver"
        prefix: "psycopg2."
        provider: DATASTORE
        rule: "psycopg2\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "pymongo MongoDB"
        prefix: "pymongo."
        provider: DATASTORE
        rule: "pymongo\\.(?<operation>[a-zA-Z0-9_]+)"
    go:
      - name: "database/sql standard library"
        prefix: "database/sql."
        provider: DATASTORE
        rule: "database/sql\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "DynamoDB SDK v2"
        prefix: "github.com/aws/aws-sdk-go-v2/service/dynamodb."
        provider: AWS
      - name: "GORM ORM"
        prefix: "gorm.io/gorm."
        provider: ORM
        rule: "gorm\\.io/gorm\\.(?<operation>[a-zA-Z0-9_]+)"
    javascript:
      - name: "Sequelize ORM"
        prefix: "sequelize."
        provider: ORM
        rule: "sequelize\\.(?<operation>[a-zA-Z0-9_]+)"
      - name: "pg PostgreSQL client"
        prefix: "pg."
        provider: DATASTORE
        rule: "pg\\.(?<operation>[a-zA-Z0-9_]+)"

  providers:
    DATASTORE:
      servicenameMapping:
        "oracle": "oracle"
        "postgresql": "postgresql"
        "mysql": "mysql"
    ORM:
      servicenameMapping: {}
    AWS:
      servicenameMapping:
        "dynamodb": "dynamodb"
