# Rules

## Attributes

| Name                | Type    | Description                                                          |
| ------------------- | ------- | -------------------------------------------------------------------- |
| ExtraTime           | boolean | If the match will go into extra time if 0-0 at full time             |
| PeriodLength        | string  | The length of each half                                              |
| ExtraTimeLength     | string  | The length of extra time                                             |
| PenaltyShootout     | boolean | If the match will go into a penalty shootout to determine the winner |
| PenaltyShootoutType | string  | Format of shootout. Possible values - null, ABBA or ABAB             |

{% code title="Response JSON" %}

```json
"rules": [
   {
     "rule": "ExtraTime",
     "value": "true"
   },
   {
     "rule": "PeriodLength",
     "value": "45"
   },
   {
     "rule": "ExtraTimeLength",
     "value": "null"
   },
   {
     "rule": "PenaltyShootout",
     "value": "false"
   },
   {
     "rule": "PenaltyShootoutType",
     "value": "null"
   }
 ]
}
```

{% endcode %}
