Skip to main content
POST
/
rulesets
/
create
Create a new ruleset
curl --request POST \
  --url https://rules.platform.arb.inc/rulesets/create \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "id": "aaa-commercial-2023",
  "title": "AAA Commercial Arbitration Rules 2023",
  "description": "Comprehensive rules for commercial arbitration disputes",
  "markdown": "# AAA Commercial Arbitration Rules\n\n## Rule 1: Scope of Rules\n\n...",
  "timetable": {
    "phases": [
      {
        "id": "filing",
        "maxDurationInSeconds": 2592000,
        "documents": [
          {
            "id": "statement-of-claim",
            "filedBy": "claimant",
            "maxAllowed": 1,
            "approvedBy": null,
            "required": true,
            "recommended": false
          }
        ],
        "allowEvidenceSubmission": true,
        "autoAdvance": false
      }
    ]
  },
  "isActive": false
}
'
"ruleset successfully created, don't forget to activate it"

Authorizations

Authorization
string
header
required

access token

Body

application/json
id
string
required

Unique identifier for the ruleset

Required string length: 1 - 50
Example:

"aaa-commercial-2023"

title
string
required

Human-readable title of the ruleset

Required string length: 1 - 100
Example:

"AAA Commercial Arbitration Rules 2023"

description
string
required

Brief description of the ruleset

Required string length: 1 - 250
Example:

"Comprehensive rules for commercial arbitration disputes"

markdown
string
required

Full text of the rules in markdown format

Required string length: 1 - 20000
Example:

"# AAA Commercial Arbitration Rules\n\n## Rule 1: Scope of Rules\n\n..."

timetable
object
required

Default timetable configuration for cases using this ruleset

isActive
boolean

Whether the ruleset should be marked as active

Example:

false

Response

Ruleset created successfully

The response is of type string.

Example:

"ruleset successfully created, don't forget to activate it"